﻿namespace Core.Identity.Organizations.Dtos;

/// <summary>
/// 组织机构
/// </summary>
public class OrganizationDto
{
    /// <summary>
    /// 组织机构Id
    /// </summary>
    public Guid Id { get; set; }
    /// <summary>
    /// 组织机构名称
    /// </summary>
    public string? Name { get; set; }
    /// <summary>
    /// 组织机构编码
    /// </summary>
    public string? Code { get; set; }
    /// <summary>
    /// 父级组织机构Id
    /// </summary>
    public Guid? ParentId { get; set; }
    /// <summary>
    /// 设置排序
    /// </summary>
    public int? Sort { get; set; }

    /// <summary>
    /// 设置描述
    /// </summary>
    public string? Description { get; set; }

    /// <summary>
    /// 设置启用/禁用
    /// </summary>
    public bool? Enabled { get; set; }

    /// <summary>
    /// 创建时间
    /// </summary>
    public DateTimeOffset Created { get; set; }
}
